package com.seadragon.app.dms.dao.jpa;

import com.seadragon.app.dms.dao.AddressDao;
import com.seadragon.app.dms.model.Address;

public class AddressDaoJpaImpl extends AbstractJpaDao implements AddressDao {

	@Override
	public void save(Address address) {
		entityManager.persist(address);
	}

	@Override
	public Address update(Address address) {
		return entityManager.merge(address);
	}

}
